package order;

public class UnderdoneOrder {
    private final double price;
    private final int size;
    private final OrderType type;
    private final String clientName;

    public UnderdoneOrder(double price, int size, OrderType type,
                          String clientName) {
        this.price = price;
        this.size = size;
        this.type = type;
        this.clientName = clientName;
    }

    public OrderType getType() {
        return type;
    }

    public double getPrice() {
        return price;
    }

    public int getSize() {
        return size;
    }

    public String getClientName() {
        return clientName;
    }

    @Override
    public String toString() {
        return "UnderdoneOrder{" +
                "price=" + price +
                ", size=" + size +
                ", type=" + type +
                ", clientName='" + clientName + "'}";
    }
}
